package service;


import bean.Customer;

public interface UserService {

	//注册
	boolean regist(Customer user);
	
	//登录
	Customer login(Customer user);
	
	//根据id查询用户
	Customer queryById(String id);
	
	//根据id查询用户
	Customer queryByName(String name);
	
}
